package com.itheima.goods.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.goods.pojo.Spec;
import entity.Result;


public interface SpecService extends IService<Spec> {
    Result findAll();

    Result add(Spec spec);

    /*PageResult findPage(Integer currentPage, Integer pageSize, String queryString);*/

    Result findById(Integer id);

    Result updateSpec(Integer id, Spec spec);

    Result deleteSpec(Integer id);

    Result search(Integer page, Integer size);

    Result searchMap(Integer page, Integer size, Object searchMap);

}
